tools: libxl: add an Enumeration type to the IDL
authorIan Campbell <ian.campbell@citrix.com>
Wed, 20 Apr 2011 16:13:07 +0000 (17:13 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 20 Apr 2011 16:13:07 +0000 (17:13 +0100)
commit8b403a1dfdbd5bb06abbfca927097037a9ef8280
treed0b377d65ee8923f617c7b2dd88e2d9ebf260b12
parent2da839263c4dd02b1433115583b8771b6d0fff36
tools: libxl: add an Enumeration type to the IDL

The IDL requires a specific value for each enumerate, this make it
much easier to avoid (or at least track) ABI changes since they must
now be explicit.

I believe I have used the same values as would have been chosen
previoulsy but have not confirmed.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson.citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/libxl/gentypes.py
tools/libxl/idl.txt
tools/libxl/libxl.h
tools/libxl/libxl.idl
tools/libxl/libxltypes.py
tools/libxl/xl_cmdimpl.c
tools/python/genwrap.py
tools/python/xen/lowlevel/xl/xl.c